package jf.jextn.converter;

import java.io.File;

public class FileConverter implements StringValueConverter<File> {
    public static final Converter<String,File> INSTANCE = new FileConverter();

    @Override
    public File from(String value) {
        return new File(value);
    }

    @Override
    public String to(File o) {
        return o.getPath();
    }

}
